package net.thumbtack

import net.thumbtack.steps.EndUserSteps
import net.thumbtack.requirements.Application.Search.SearchByKeyword

using "thucydides"

thucydides.uses_default_base_url "http://82.200.2.19/"
thucydides.uses_steps_from EndUserSteps
thucydides.tests_story SearchByKeyword

scenario "Send Message With Candidate Page", {
    given "the registrated user login in app", {
        end_user.should_opening_page("Recent Activity")
    }
    when "the end user open candidate page click on "chat" write and send new message", {
        end_user.sendMessage()
    }
    then "they should see window success", {
       end_user.should_window_success("success")
    }
}
